package org.dydl.model.system;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * PRODUCTIONDETAIL
 * 
 * @author 张华城
 * @version 1.0.0 2018-01-11
 */
@Entity
@Table(name = "PRODUCTIONDETAIL")
public class Productiondetail implements Serializable {
    /** 版本号 */
    private static final long serialVersionUID = 8833170611860963819L;

    /** id */
    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    private Long id;

    /** uuid */
    private String uuid;

    /** 成品UUID */
    private String goodsUuid;

    /** 批次号 */
    private Integer lotNo;

    /** 品名 */
    private String name;

    /** 商品编码 */
    private String sku;

    /** 规格型号 */
    private String model;

    /** 在库数量 */
    private Integer amount;

    /** 总箱 */
    private Integer totalBox;

    /** 单箱 */
    private Integer singleBox;

    /** 已生产数量 */
    private Integer already = 0;

    /** 已出库数量 */
    private Integer alreadyOut = 0;

    /** 订单号 */
    private String orderNo;

    /** 交付日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private String deliveryDate;
    
    /** 登记人*/
    private String register;
    
	/**登记日期*/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private String registerDate;
    
    /** 订单详情uuid*/
    private String orderDetailUuid;
   

	public String getOrderDetailUuid() {
		return orderDetailUuid;
	}

	public void setOrderDetailUuid(String orderDetailUuid) {
		this.orderDetailUuid = orderDetailUuid;
	}

	public String getRegister() {
		return register;
	}

	public void setRegister(String register) {
		this.register = register;
	}

	public String getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

	

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	/**
     * 获取id
     * 
     * @return id
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置id
     * 
     * @param id
     *          id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取uuid
     * 
     * @return uuid
     */
    public String getUuid() {
        return this.uuid;
    }

    /**
     * 设置uuid
     * 
     * @param uuid
     *          uuid
     */
    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    /**
     * 获取成品UUID
     * 
     * @return 成品UUID
     */
    public String getGoodsUuid() {
        return this.goodsUuid;
    }

    /**
     * 设置成品UUID
     * 
     * @param goodsUuid
     *          成品UUID
     */
    public void setGoodsUuid(String goodsUuid) {
        this.goodsUuid = goodsUuid;
    }

    /**
     * 获取批次号
     * 
     * @return 批次号
     */
    public Integer getLotNo() {
        return this.lotNo;
    }

    /**
     * 设置批次号
     * 
     * @param lotNo
     *          批次号
     */
    public void setLotNo(Integer lotNo) {
        this.lotNo = lotNo;
    }

    /**
     * 获取品名
     * 
     * @return 品名
     */
    public String getName() {
        return this.name;
    }

    /**
     * 设置品名
     * 
     * @param name
     *          品名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取商品编码
     * 
     * @return 商品编码
     */
    public String getSku() {
        return this.sku;
    }

    /**
     * 设置商品编码
     * 
     * @param sku
     *          商品编码
     */
    public void setSku(String sku) {
        this.sku = sku;
    }

    /**
     * 获取规格型号
     * 
     * @return 规格型号
     */
    public String getModel() {
        return this.model;
    }

    /**
     * 设置规格型号
     * 
     * @param model
     *          规格型号
     */
    public void setModel(String model) {
        this.model = model;
    }

  

    /**
     * 获取总箱
     * 
     * @return 总箱
     */
    public Integer getTotalBox() {
        return this.totalBox;
    }

    /**
     * 设置总箱
     * 
     * @param totalBox
     *          总箱
     */
    public void setTotalBox(Integer totalBox) {
        this.totalBox = totalBox;
    }

    /**
     * 获取单箱
     * 
     * @return 单箱
     */
    public Integer getSingleBox() {
        return this.singleBox;
    }

    /**
     * 设置单箱
     * 
     * @param singleBox
     *          单箱
     */
    public void setSingleBox(Integer singleBox) {
        this.singleBox = singleBox;
    }

    /**
     * 获取已生产数量
     * 
     * @return 已生产数量
     */
    public Integer getAlready() {
        return this.already;
    }

    /**
     * 设置已生产数量
     * 
     * @param already
     *          已生产数量
     */
    public void setAlready(Integer already) {
        this.already = already;
    }

    /**
     * 获取已出库数量
     * 
     * @return 已出库数量
     */
    public Integer getAlreadyOut() {
        return this.alreadyOut;
    }

    /**
     * 设置已出库数量
     * 
     * @param alreadyOut
     *          已出库数量
     */
    public void setAlreadyOut(Integer alreadyOut) {
        this.alreadyOut = alreadyOut;
    }

    /**
     * 获取订单号
     * 
     * @return 订单号
     */
    public String getOrderNo() {
        return this.orderNo;
    }

    /**
     * 设置订单号
     * 
     * @param orderNo
     *          订单号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取交付日期
     * 
     * @return 交付日期
     */
    public String getDeliveryDate() {
        return this.deliveryDate;
    }

    /**
     * 设置交付日期
     * 
     * @param deliveryDate
     *          交付日期
     */
    public void setDeliveryDate(String deliveryDate) {
        this.deliveryDate = deliveryDate;
    }
}